package com.ysd.lis.entity.qi;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ysd.lis.entity.BaseEntity;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>
 * 质量指标专业
 * </p>
 *
 * @author LiuQi
 * @since 2024-02-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("QI_INDEX_MAJOR")
@Entity
@Table(name = "QI_INDEX_MAJOR")
public class QiIndexMajor extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;

    /**
     * 专业编码
     */
    @TableField("MAJOR_CODE")
    @Column(name = "MAJOR_CODE")
    private String majorCode;

    /**
     * 专业名称
     */
    @TableField("MAJOR_NAME")
    @Column(name = "MAJOR_NAME")
    private String majorName;

    /**
     * 专业类型
     */
    @TableField("MAJOR_TYPE")
    @Column(name = "MAJOR_TYPE")
    private String majorType;

    /**
     * 指标ID
     */
    @TableField("INDEX_ID")
    @Column(name = "INDEX_ID")
    private String indexId;

    /**
     * 指标报表编码
     */
    @TableField("INDEX_CODE")
    @Column(name = "INDEX_CODE")
    private String indexCode;

    /**
     * 顺序
     */
    @TableField("SEQ")
    @Column(name = "SEQ")
    private Integer seq;

    /**
     * 指标ID
     */
    @TableField("MAJOR_GROUP")
    @Column(name = "MAJOR_GROUP")
    private String majorGroup;

    /**
     * 统计类型 1求和,2平均值
     */
    @TableField("STAT_TYPE")
    @Column(name = "STAT_TYPE")
    private Integer statType;

}
